Skip to content

chore: Clean up out-of-date comments for aggregate refactor - #25007

Merged
2010YOUY01 merged 3 commits into
apache:mainfrom
2010YOUY01:aggr-refactor-comments
Sep 9, 2026
Merged

chore: Clean up out-of-date comments for aggregate refactor#25007
2010YOUY01 merged 3 commits into
apache:mainfrom
2010YOUY01:aggr-refactor-comments

Conversation

@2010YOUY01

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Part of #25006

Rationale for this change

The refactor has been completed functionally, this PR updates the comments to keep things in sync.

What changes are included in this PR?

What is the testing strategy for this PR?

Are there any user-facing changes?

@github-actions github-actions Bot added documentation Improvements or additions to documentation core Core DataFusion crate common Related to common crate physical-plan Changes to the physical-plan crate labels Sep 7, 2026
@github-actions github-actions Bot added the sqllogictest SQL Logic Tests (.slt) label Sep 7, 2026
@codecov-commenter

codecov-commenter commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 81.74%. Comparing base (2c31327) to head (deb84dc).
⚠️ Report is 36 commits behind head on main.

Files with missing lines Patch % Lines
...ysical-plan/src/aggregates/group_values/metrics.rs 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25007      +/-   ##
==========================================
+ Coverage   81.69%   81.74%   +0.04%     
==========================================
  Files        1127     1128       +1     
  Lines      415386   416762    +1376     
  Branches   415386   416762    +1376     
==========================================
+ Hits       339360   340685    +1325     
+ Misses      56091    56006      -85     
- Partials    19935    20071     +136     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Than you @2010YOUY01

Comment thread datafusion/common/src/config.rs Outdated
/// their preconditions are satisfied. When set to false, grouped
/// aggregation falls back to `GroupedHashAggregateStream`. This option
/// will be removed after the migration is finished.
/// The split is complete, so the default `true` plans every grouped

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend focusing this more on the end user behavior -- something like

        /// When set to false, falls back to the pre 55.0.0 aggregation code. 
        /// The fallback is intended as a workaround in case of bugs and
        /// will be deleted after the 56.0.0 release together with this option.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, updated in deb84dc

@2010YOUY01
2010YOUY01 added this pull request to the merge queue Sep 9, 2026
Merged via the queue into apache:main with commit bf01e28 Sep 9, 2026
42 checks passed
@2010YOUY01
2010YOUY01 deleted the aggr-refactor-comments branch September 9, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate core Core DataFusion crate documentation Improvements or additions to documentation physical-plan Changes to the physical-plan crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants